:host {
  display: flex;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  .ant-menu-sub.ant-menu-inline .ant-menu-item-group-title {
    padding-left: 32px;
    color: rgb(255, 0, 0) !important;
  }

  .ant-menu-dark.ant-menu-inline .ant-menu-item,
  .ant-menu-dark.ant-menu-inline .ant-menu-submenu-title {
    width: 100%;
    letter-spacing: 1px;
  }

  .ant-layout-header {
    display: flex;
    position: relative !important;
    background-color: rgb(238, 236, 236);
    box-shadow: 2px 0 6px rgb(0 21 41 / 35%);
    padding: 0 20px;
    box-sizing: border-box;

    .right-layout {
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
    }
  }

  .ant-menu.ant-menu-dark,
  .ant-menu-dark .ant-menu-sub,
  .ant-menu.ant-menu-dark .ant-menu-sub {
    color: rgba(255, 255, 255, 0.65);
    background: rgb(255, 255, 255) !important;
  }

  .ant-layout-sider,
  .sidebar-logo,
  .ant-menu-item {
    background: rgb(255, 255, 255) !important;
  }

  .sidebar-logo a span {
    margin-left: 5px;
  }

  .sidebar-logo a:nth-child(2) {
    margin-left: 15px;
  }

  nz-select {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
  }

  h3 {
    display: flex;
    align-items: center;
    margin: 0;
    position: absolute;
    left: 500px;
    top: 50%;
    color: rgba(16, 16, 16, 0.647);
    white-space: nowrap;
    transform: translateY(-50%);
  }

  /*当屏幕宽度缩小到930px时 出现新样式*/
  @media screen and (max-width: 930px) {
    nz-select {
      width: 200px;
    }

    h3 {
      left: 300px;
      font-weight: 200;
    }
  }

  /*当屏幕宽度超过到930px时 出现新样式*/
  @media screen and (min-width: 930px) {
    nz-select {
      width: 400px;
    }

    h3 {
      left: 500px;
      font-weight: 600;
    }
  }

  .cdk-virtual-scroll-viewport {
    overflow: hidden !important;
  }

  .app-layout {
    height: 100vh;
  }

  .menu-sidebar {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
    height: 100vh;
    overflow: auto;
  }

  .menu-icon {
    font-size: 24px;
    color: #000000 !important;
  }

  .ant-menu-item {
    overflow-x: auto;
  }

  /*滚动条样式*/
  .ant-menu-item::-webkit-scrollbar,
  .menu-sidebar::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 4px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 4px;
  }

  .ant-menu-item::-webkit-scrollbar,
  .menu-sidebar::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 5px;
    background: transparent;
  }

  .ant-menu-item::-webkit-scrollbar,
  .menu-sidebar::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow: inset 0 0 5px transparent;
    border-radius: 0;
    background: transparent;
  }

  .header-trigger {
    height: 64px;
    padding: 20px 24px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s, padding 0s;
  }

  .trigger:hover {
    color: hsl(209, 100%, 55%);
  }

  .sidebar-logo {
    position: relative;
    height: 64px;
    padding-left: 24px;
    overflow: hidden;
    line-height: 64px;
    background: #001529;
    transition: all 0.3s;
  }

  .sidebar-logo:after {
    content: "123333";
    display: block;
    width: calc(100% - 20px);
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
  }

  .sidebar-logo img {
    display: inline-block;
    height: 32px;
    width: 32px;
    vertical-align: middle;
  }

  .sidebar-logo h1 {
    display: inline-block;
    margin: 0 0 0 20px;
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-size: 14px;
    font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
    vertical-align: middle;
  }

  .sidebar-logo h1 {
    display: inline-block;
    margin: 0 0 0 20px;
    color: rgb(0, 0, 0);
    font-weight: 600;
    font-size: 18px;
    font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
    vertical-align: middle;
  }

  nz-header {
    padding: 0;
    width: 100%;
    z-index: 2;
  }

  .app-header {
    position: relative;
    height: 64px;
    padding: 0;
    background: rgb(255, 255, 255);
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  }

  nz-content {
    margin: 20px;
  }

  .inner-content {
    position: relative;
    background: rgb(238, 236, 236);
    height: 100%;
    padding: 12px;
  }

  .drag-icon {
    position: absolute;
    z-index: 9999;
    left: 249px;
    top: 50%;
    transform: translateY(-50%);

    .icon {
      width: 1em;
      height: 1em;
      vertical-align: -0.15em;
      fill: currentColor;
      overflow: hidden;
    }

    .zuoyouhuadong {
      font-size: 24px;
      cursor: grab !important;
    }
  }

  .menu {
    display: contents;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    .first-menu {
      display: inline-block;
      width: 80%;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: top;
    }
  }

  .second-menu {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
  }
}
